Scripting COM components in Haskell

نویسندگان

  • Simon L. Peyton Jones
  • Erik Meijer
  • Daan Leijen
چکیده

The expressiveness of higher-order, typed languages such as Haskell or ML makes them an attractive medium in which to write software components. Hitherto , however, their use has been limited by the all-or-nothing problem: it is hard to write just part of an application in these languages. Component-based programming using a binary standard such as Microsoft's Component Object Model (COM) ooers a solution to this dilemma, by specifying a language-independent interface between components. This paper reports about our experience with exploiting this opportunity in the purely-functional language Haskell. We describe a design for integrating COM components into Haskell programs, and we demonstrate why someone might want to script their COM components in this way.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Building .NET GUIs for Haskell applications

.NET is an emerging Microsoft’s project which promotes a new framework for Software Development emphasizing the use of Internet resources and the interaction between components written in different programming languages. Whereas functional programming languages such as Haskell are well-suited for developing tools to analyze, verify and transform programs, typical Haskell compilers do not provid...

متن کامل

MysterX: A Scheme Toolkit for Building Interactive Applications with COM

MysterX is an object-oriented Scheme toolkit for building applications from oo-the-shelf COM components. While the COM support in languages such as Haskell and Mercury requires the use of an interface compiler to generate stub code, MysterX uses the reeective capabilities of OLE Automation to make value-marshalling decisions at run-time. MysterX hosts COM components in windows that display Dyna...

متن کامل

Declarative Scripting in Haskell

We present a domain-specific language embedded within the Haskell programming language to build scripts in a declarative and typesafe manner. We can categorize script components into various orthogonal dimensions, or concerns, such as IO interaction, configuration, or error handling. In particular, we provide special support for two dimensions that are often neglected in scripting languages, na...

متن کامل

MCORBA: A CORBA Binding for Mercury

MCORBA is a binding to the CORBA distributed object framework for the purely declarative logic/functional language Mercury. The binding preserves the referential transparency of the language, and has several advantages over similar bindings for other strongly typed declarative languages. As far as we know, it is the rst such binding to be bidirectional; it allows a Mercury program both to opera...

متن کامل

Connecting Lisp-Stat to COM

Statistical software systems are just one, albeit a very important one, of several software systems used by data analysts. Data to be analyzed often resides in data bases or spread sheets; results of analyses are often presented in reports written in word processors or report generators. In recent years several mechanisms have been developed for connecting these and other applications, and more...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998